package com.kalix.mooc.live.entities;

import com.kalix.framework.core.api.persistence.PersistentEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 功能描述:
 *
 * @Description: 直播列表实体类(根据账号进行选择直播间可开多个直播间)
 * @Author: yyp
 * @CreateDate: 2019/5/17$ 14:20$
 * @Version:
 */
@Entity
@Table(name = "mooc_live")
public class LiveBean extends PersistentEntity {
    private Long userId; // 直播人id
    private String userName; // 直播人名
    private String liveUrl; // 直播流地址
    @Column(name = "imgUrl",columnDefinition = "text")
    private String imgUrl; // 直播间封面
    private String type; // 直播类别
    private Long liveId; // 直播间ID
    private Long num; // 推荐位置
    private String liveName; // 直播间名称
    private String startTime; // 开播时间
    private String endTime; // 结束时间
    private String state; // 直播状态开播,闭播
    @Column(name = "introduce",columnDefinition = "text")
    private String introduce; // 直播简介

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getLiveUrl() {
        return liveUrl;
    }

    public void setLiveUrl(String liveUrl) {
        this.liveUrl = liveUrl;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Long getLiveId() {
        return liveId;
    }

    public void setLiveId(Long liveId) {
        this.liveId = liveId;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getLiveName() {
        return liveName;
    }

    public void setLiveName(String liveName) {
        this.liveName = liveName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }
}
